home *** CD-ROM | disk | FTP | other *** search
- ; Installer Script for BOops! V1.0
-
- (set @options "")
- (set @commandline "c:BOops!")
- (set @default-dest "SYS:C/")
-
- (set choice
- (askchoice
- (prompt "BOops! v1.0"
- " by Oops! demo division\n\n"
- "->Give your Amiga the cool boot she deserves!<-\n"
- )
- (help "Confused? Just click the \"Proceed\" button.\n\nYour selection here doesn't "
- "make any difference to the installation; we only wanted to show you the "
- "credits in a funny way.\n\n(It IS funny, don't you think?)")
- (choices "Code.................Mentat"
- "Music...............Prodigy"
- "Graphics.............Radium"
- "Installer.........Strawhead")
- (default 0)
- )
- )
-
- (set startupchoice
- (askchoice
- (prompt "How do you want to install BOops! ?")
- (help "Do you only want to copy BOops! to your C directory or do you want it to be executed after every reboot by putting it in"
- " your startup-sequence?\n\n(A line with c:Boops! will then be"
- " placed after your AddDataTypes entry, if you have any. "
- "Else, the installer will search for the SetPatch entry to do the same.)\n\n"
- "Simple, isn't it?")
-
- (choices "Partial installation: Only copy main executable to C:"
- "Full installation: Install in startup-sequence as well.")
- (default 1)
- )
- )
-
- (
- (copyfiles
- (prompt "Copying BOops!")
- (help "")
- (source "c/BOops!")
- (dest "c:")
- )
- (if (= 1 startupchoice)
- (
- (if (NOT (run "C:Search s:startup-sequence #?boops PATTERN QUIET"))
- (
- (exit "BOops! was already found in the startup-sequence.")
- )
- )
- (if (NOT (run "C:Search s:startup-sequence #?AddDataTypes#? PATTERN QUIET"))
- (
- (run ("c/ModifyStartUp #?AddDataTypes#? \"%s\" AFTER" @commandline))
- (exit "Added line c:BOops! after your AddDataTypes entry.\n\n"
- "You terrible lamer!!! You could have done this MUCH faster by hand!\n\n"
- "Nothing went wrong, however.\nBeing a lamer has its advantages "
- "now and then. :-)")
- )
- )
- (run ("c/ModifyStartUp #?SetPatch#? \"%s\" AFTER" @commandline))
- (exit "AddDataTypes command not found, installed after SetPatch command.\n\n"
- "You terrible lamer!!! You could have done this MUCH faster by hand!\n\n"
- "Nothing went wrong, however.\nBeing a lamer has its advantages "
- "now and then. :-)")
- )
- )
- )
- (exit "You damn bloody enormous lamer! You used an install script just to copy 1 (ONE!) file!!!?\n\n"
- "You have to be nuts, because you will have to edit your"
- " startup-sequence anyway, to be able to use BOops! ...")
-